package com.rw.common.mapper;

import com.rw.common.pojo.CarInfo;
import com.rw.common.pojo.ConfigInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author rabit
* @description 针对表【config_info】的数据库操作Mapper
* @createDate 2021-12-06 15:10:31
* @Entity com.rw.admin.domain.ConfigInfo
*/
@Mapper
public interface ConfigInfoMapper {

    void insert(ConfigInfo configInfo);

    List<ConfigInfo> findAll();

    ConfigInfo getValueByKey(ConfigInfo config);

    List<CarInfo> selectAll(ConfigInfo configInfo);

    int deleteByPrimaryKey(Integer id);

    int insertSelective(ConfigInfo record);

    ConfigInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ConfigInfo record);

    int updateByPrimaryKey(ConfigInfo record);
}
